Colorpicker
An element that allows the user may use to select a color from. Mozilla renders this as a grid of colors. The user may select a color by clicking on one of the grid cells.
Attributes:
Attributes inherited from XUL Element
The currently selected color. This is modified when the user selects a color. You can assign a string of the form #RRGGBB to this property to change the selected color.
If this attribute is not present, the colorpicker is displayed inside the window. If this is set to the text 'button', the colorpicker is displayed as a button. When the user clicks the button, a popup appears for the user to select a color. The change event will be fired when the user selects a color.
Properties and Methods:
Properties and Methods inherited from XUL Element
The currently selected color. This is modified when the user selects a color. You can assign a string of the form #RRGGBB to this property to change the selected color.